/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-24 16:01:05
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-24 16:30:13
 */
import 'package:flutter/material.dart';

import 'components/fllow_item.dart';
import 'components/notice_item.dart';

class NotificationScreen extends StatelessWidget {
  const NotificationScreen({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        elevation: 0,
        iconTheme: IconThemeData(color: Colors.black),
        backgroundColor: Colors.transparent,
        title: Text(
          "ACTIVITY",
          style: TextStyle(
            color: Colors.black,
          ),
        ),
      ),
      body: SafeArea(
        child: Padding(
          padding: EdgeInsets.all(8),
          child: SingleChildScrollView(
            physics: BouncingScrollPhysics(),
            child: Column(
              children: [
                ...List.generate(2, (index) => FllowItem()),
                Divider(
                  color: Colors.grey,
                  indent: 48,
                ),
                ...List.generate(20, (index) => NoticeItem())
              ],
            ),
          ),
        ),
      ),
    );
  }
}
